<?php


namespace app\sys\model;


use think\Model;

class ConnLog extends Model
{
    protected $autoWriteTimestamp = true;
    public static function add($no,$clientId,$type)
    {
        $arr = ["no"=>$no,"client_id"=>$clientId,"create_day"=>strtotime(date("Y-m-d")),"type"=>$type];
        ConnLog::create($arr);
    }


}